<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="smart-doc">
    <title>测试</title>
    <link rel="stylesheet" href="font.css">
    <link rel="stylesheet" href="AllInOne.css?v=1712756612287"/>

    <style>.literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint {
        background: #f7f7f8;
    }

    .hljs {
        padding: 0em;
    }</style>
    <script src="highlight.min.js"></script>
    <script src="jquery.min.js"></script>
</head>
<body class="book toc2 toc-left">
<div id="header"><h1>测试</h1>
    <div id="toc" class="toc2">
        <div id="book-search-input"><input id="search" type="text" placeholder="Type to search"></div>
        <div id="toctitle"><span>API Reference</span></div>
        <ul id="accordion" class="sectlevel1">
            <li class=""><a class="dd" href="api.html#header">1.&nbsp;活动控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="api.html#_1_1_查询活动">1.1.&nbsp;查询活动</a>
                    </li>

                    <li><a
                            href="api.html#_1_2_获取场地使用列表">1.2.&nbsp;获取场地使用列表</a>
                    </li>

                    <li><a
                            href="api.html#_1_3_添加活动">1.3.&nbsp;添加活动</a>
                    </li>

                    <li><a
                            href="api.html#_1_4_更新活动图片">1.4.&nbsp;更新活动图片</a>
                    </li>

                    <li><a
                            href="api.html#_1_5_活动详情">1.5.&nbsp;活动详情</a>
                    </li>

                    <li><a
                            href="api.html#_1_6_删除活动">1.6.&nbsp;删除活动</a>
                    </li>

                    <li><a
                            href="api.html#_1_7_用户端获取活动列表">1.7.&nbsp;用户端获取活动列表</a>
                    </li>

                    <li><a
                            href="api.html#_1_8_用户获取活动详情">1.8.&nbsp;用户获取活动详情</a>
                    </li>

                    <li><a
                            href="api.html#_1_9_购买活动票">1.9.&nbsp;购买活动票</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="AdminController.html#header">2.&nbsp;管理员模块</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="AdminController.html#_2_1_管理员登录">2.1.&nbsp;管理员登录</a>
                    </li>

                    <li><a
                            href="AdminController.html#_2_2_重置登录密码">2.2.&nbsp;重置登录密码</a>
                    </li>

                    <li><a
                            href="AdminController.html#_2_3_修改密码">2.3.&nbsp;修改密码</a>
                    </li>
                </ul>
            </li>
            <li class="open"><a class="dd" href="AlipayController.html#header">3.&nbsp;支付宝支付控制器</a>
                <ul class="sectlevel2" style="display: block">
                    <li><a
                            href="AlipayController.html#_3_1_pc端创建订单">3.1.&nbsp;pc端创建订单</a>
                    </li>

                    <li><a
                            href="AlipayController.html#_3_2_">3.2.&nbsp;</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="AlipayOrderController.html#header">4.&nbsp;支付宝支付订单表 前端控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="AlipayOrderController.html#_4_1_创建订单">4.1.&nbsp;创建订单</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="CommodityController.html#header">5.&nbsp;商品控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="CommodityController.html#_5_1_商品列表">5.1.&nbsp;商品列表</a>
                    </li>

                    <li><a
                            href="CommodityController.html#_5_2_添加商品">5.2.&nbsp;添加商品</a>
                    </li>

                    <li><a
                            href="CommodityController.html#_5_3_添加商品图片">5.3.&nbsp;添加商品图片</a>
                    </li>

                    <li><a
                            href="CommodityController.html#_5_4_删除商品">5.4.&nbsp;删除商品</a>
                    </li>

                    <li><a
                            href="CommodityController.html#_5_5_更改商品">5.5.&nbsp;更改商品</a>
                    </li>

                    <li><a
                            href="CommodityController.html#_5_6_查询商品详情">5.6.&nbsp;查询商品详情</a>
                    </li>

                    <li><a
                            href="CommodityController.html#_5_7_用户查询">5.7.&nbsp;用户查询</a>
                    </li>

                    <li><a
                            href="CommodityController.html#_5_8_用户购买商品">5.8.&nbsp;用户购买商品</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="CourseController.html#header">6.&nbsp;课程控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="CourseController.html#_6_1_新增课程">6.1.&nbsp;新增课程</a>
                    </li>

                    <li><a
                            href="CourseController.html#_6_2_更新课程图片">6.2.&nbsp;更新课程图片</a>
                    </li>

                    <li><a
                            href="CourseController.html#_6_3_查询课程">6.3.&nbsp;查询课程</a>
                    </li>

                    <li><a
                            href="CourseController.html#_6_4_删除课程">6.4.&nbsp;删除课程</a>
                    </li>

                    <li><a
                            href="CourseController.html#_6_5_课程详情">6.5.&nbsp;课程详情</a>
                    </li>

                    <li><a
                            href="CourseController.html#_6_6_用户课程列表">6.6.&nbsp;用户课程列表</a>
                    </li>

                    <li><a
                            href="CourseController.html#_6_7_用户课程详情">6.7.&nbsp;用户课程详情</a>
                    </li>

                    <li><a
                            href="CourseController.html#_6_8_用户购买课程">6.8.&nbsp;用户购买课程</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="IndexController.html#header">7.&nbsp;首页控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="IndexController.html#_7_1_首页数据">7.1.&nbsp;首页数据</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="InformController.html#header">8.&nbsp;通知控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="InformController.html#_8_1_通知列表">8.1.&nbsp;通知列表</a>
                    </li>

                    <li><a
                            href="InformController.html#_8_2_通知详情">8.2.&nbsp;通知详情</a>
                    </li>

                    <li><a
                            href="InformController.html#_8_3_添加通知">8.3.&nbsp;添加通知</a>
                    </li>

                    <li><a
                            href="InformController.html#_8_4_更新通知">8.4.&nbsp;更新通知</a>
                    </li>

                    <li><a
                            href="InformController.html#_8_5_通知详情">8.5.&nbsp;通知详情</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="OrderController.html#header">9.&nbsp;订单控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="OrderController.html#_9_1_订单列表查询">9.1.&nbsp;订单列表查询</a>
                    </li>

                    <li><a
                            href="OrderController.html#_9_2_订单详情查询">9.2.&nbsp;订单详情查询</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="PlaceController.html#header">10.&nbsp;场地控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="PlaceController.html#_10_1_获取所有场地">10.1.&nbsp;获取所有场地</a>
                    </li>

                    <li><a
                            href="PlaceController.html#_10_2_获取场地具体信息">10.2.&nbsp;获取场地具体信息</a>
                    </li>

                    <li><a
                            href="PlaceController.html#_10_3_更新场地信息">10.3.&nbsp;更新场地信息</a>
                    </li>

                    <li><a
                            href="PlaceController.html#_10_4_添加或者更新场地图片">10.4.&nbsp;添加或者更新场地图片</a>
                    </li>

                    <li><a
                            href="PlaceController.html#_10_5_获取场地可用日期">10.5.&nbsp;获取场地可用日期</a>
                    </li>

                    <li><a
                            href="PlaceController.html#_10_6_预定场地详情">10.6.&nbsp;预定场地详情</a>
                    </li>

                    <li><a
                            href="PlaceController.html#_10_7_预定场地">10.7.&nbsp;预定场地</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="UserCenterController.html#header">11.&nbsp;用户中心控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="UserCenterController.html#_11_1_订单查询">11.1.&nbsp;订单查询</a>
                    </li>

                    <li><a
                            href="UserCenterController.html#_11_2_课程查询">11.2.&nbsp;课程查询</a>
                    </li>

                    <li><a
                            href="UserCenterController.html#_11_3_门票查询">11.3.&nbsp;门票查询</a>
                    </li>

                    <li><a
                            href="UserCenterController.html#_11_4_场地预约查询">11.4.&nbsp;场地预约查询</a>
                    </li>

                    <li><a
                            href="UserCenterController.html#_11_5_重置密码">11.5.&nbsp;重置密码</a>
                    </li>

                    <li><a
                            href="UserCenterController.html#_11_6_充值订单生成">11.6.&nbsp;充值订单生成</a>
                    </li>

                    <li><a
                            href="UserCenterController.html#_11_7_创建订单">11.7.&nbsp;创建订单</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="UserController.html#header">12.&nbsp;用户控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="UserController.html#_12_1_用户注册">12.1.&nbsp;用户注册</a>
                    </li>

                    <li><a
                            href="UserController.html#_12_2_登录并返回token">12.2.&nbsp;登录并返回token</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="UserInfoController.html#header">13.&nbsp;用户管理控制器</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="UserInfoController.html#_13_1_获取用户分页列表">13.1.&nbsp;获取用户分页列表</a>
                    </li>

                    <li><a
                            href="UserInfoController.html#_13_2_用户详细信息">13.2.&nbsp;用户详细信息</a>
                    </li>

                    <li><a
                            href="UserInfoController.html#_13_3_切换用户状态">13.3.&nbsp;切换用户状态</a>
                    </li>

                    <li><a
                            href="UserInfoController.html#_13_4_重置用户密码">13.4.&nbsp;重置用户密码</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<div id="content">
    <div class="sect1"><h2 id="_支付宝支付控制器"><a class="anchor" href="#_支付宝支付控制器"></a><a class="link" href="#_支付宝支付控制器">3.&nbsp;支付宝支付控制器</a>
    </h2>
        <div class="sectionbody">
            <div class="sect2"><h3 id="_3_1_pc端创建订单">
                <a class="anchor" href="#_3_1_pc端创建订单"></a>
                <a class="link" href="#_3_1_pc端创建订单">3.1.&nbsp;pc端创建订单</a>
            </h3>
                <div class="paragraph"><p><strong>URL:</strong><a href="http://127.0.0.1/alipay/pcPayment" class="bare">&nbsp;http://127.0.0.1/alipay/pcPayment</a>
                </p></div>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;GET</p></div>
                <div class="paragraph"><p><strong>Author:</strong>&nbsp;wyq,javgo.cn</p></div>
                <div class="paragraph"><p><strong>Content-Type:</strong>&nbsp;application/x-www-form-urlencoded;charset=UTF-8</p></div>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;pc端创建订单</p></div>
                <div class="paragraph"><p><strong>Query-parameters:</strong></p></div>
                <table class="tableblock frame-all grid-all spread">
                    <colgroup>
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                        <col style="width: 20%;">
                    </colgroup>
                    <thead>
                    <tr>
                        <th class="tableblock halign-left valign-top">Parameter</th>
                        <th class="tableblock halign-left valign-top">Type</th>
                        <th class="tableblock halign-left valign-top">Description</th>
                        <th class="tableblock halign-left valign-top">Required</th>
                        <th class="tableblock halign-left valign-top">Since</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">subject</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">订单标题</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">outTradeNo</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">string</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">订单号</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>

                    <tr>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">totalAmount</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">object</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">总金额</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">false</p></td>
                        <td class="tableblock halign-left valign-top"><p class="tableblock">-</p></td>
                    </tr>
                    </tbody>
                </table>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X GET -i http://127.0.0.1/alipay/pcPayment?subject=97gnzp&outTradeNo=e4wm0e&totalAmount=970</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">Return void.</code></pre>
                    </div>
                </div>
            </div>

            <div class="sect2"><h3 id="_3_2_">
                <a class="anchor" href="#_3_2_"></a>
                <a class="link" href="#_3_2_">3.2.&nbsp;</a>
            </h3>
                <div class="paragraph"><p><strong>URL:</strong><a href="http://127.0.0.1/alipay/notify" class="bare">&nbsp;http://127.0.0.1/alipay/notify</a>
                </p></div>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;POST</p></div>
                <div class="paragraph"><p><strong>Author:</strong>&nbsp;wyq,javgo.cn</p></div>
                <div class="paragraph"><p><strong>Content-Type:</strong>&nbsp;application/x-www-form-urlencoded;charset=UTF-8</p></div>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;</p></div>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X POST -i http://127.0.0.1/alipay/notify</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">Return void.</code></pre>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <footer class="page-footer"><span class="copyright">Generated by smart-doc at 2024-04-10 21:43:32</span><span
            class="footer-modification">Suggestions,contact,support and error reporting on<a
            href="https://gitee.com/smart-doc-team/smart-doc" target="_blank">&nbsp;Gitee</a>&nbsp;or<a
            href="https://github.com/smart-doc-group/smart-doc.git" target="_blank">&nbsp;Github</a></span></footer>
</div>
<script src="search.js?v=1712756612287"></script>
<script>
    $(function () {
        const Accordion = function (el, multiple) {
            this.el = el || {};
            this.multiple = multiple || false;
            const links = this.el.find('.dd');
            links.on('click', {el: this.el, multiple: this.multiple}, this.dropdown);
        };
        Accordion.prototype.dropdown = function (e) {
            const $el = e.data.el;
            const $this = $(this), $next = $this.next();
            $next.slideToggle();
            $this.parent().toggleClass('open');
            if (!e.data.multiple) {
                $el.find('.submenu').not($next).slideUp("20").parent().removeClass('open');
            }
        };
        new Accordion($('#accordion'), false);
        hljs.highlightAll()
    });
</script>
</body>
</html>
